package com.xyht.sca_s.student_manage_system.modules.inform.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xyht.sca_s.student_manage_system.common.commonReturn.ResponseResult;
import com.xyht.sca_s.student_manage_system.modules.inform.entity.SmsInform;
import com.xyht.sca_s.student_manage_system.modules.inform.entity.dto.SmsInformDetailAddDto;
import com.xyht.sca_s.student_manage_system.modules.inform.entity.dto.SmsInformDetailUpdateDto;
import com.xyht.sca_s.student_manage_system.modules.inform.entity.dto.SmsInformIdDto;


/**
 * <p>
 *  服务类
 * </p>
 *
 * @author XYHT
 * @since 2022-12-04
 */
public interface SmsInformService extends IService<SmsInform> {
    ResponseResult addInform(SmsInformDetailAddDto informDto, String issuerId);
    ResponseResult getInformById(String id,String issuerId);
    ResponseResult updateInform(SmsInformDetailUpdateDto smsInformDetailUpdateDto,String issuerId);
    ResponseResult deleteInform(SmsInform smsInform);
    ResponseResult getAllInform(String userId,String notificationType,Integer pageSize,Integer pageNum);
    ResponseResult getAllBlackInform(String issuerId, Integer isBanner , Integer pageSize, Integer pageNum,
                                     String type, String search,String notificationType,String userId, String beginTime, String endTime);
    ResponseResult getBanner();
    ResponseResult likes(String likeUserId, SmsInformIdDto informId);
    ResponseResult collect(String collectUserId, SmsInformIdDto informId);
    ResponseResult getClassInfo(String userId);
}
